import Vue from 'vue'
import Vuex from 'vuex'
import dbInfo from '@/store/modules/dbInfo'
import generator from '@/store/modules/generator'
import base from "@/store//modules/baseInfo";
import lang from '@/store//modules/lang'
import permission from "@/store/modules/permission";
import socket from "@/store//modules/socket";

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    dbInfo,
    generator,
    base,
    lang,
    permission,
    socket
  }
})

export default store